package com.example.qinghe.entity.sale;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 签到地点名对象 checkinlocations
 * 
 * @author ruoyi
 * @date 2023-09-07
 */
@ApiModel("签到地点表")
public class Checkinlocations
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 经度 */
    @ApiModelProperty(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @ApiModelProperty(name = "纬度")
    private BigDecimal latitude;

    /** 签到范围 */
    @ApiModelProperty(name = "签到范围")
    private BigDecimal range;

    /** 地点名称 */
    @ApiModelProperty(name = "地点名称")
    private String locationname;

    /** 员工id */
    @ApiModelProperty(name = "员工id")
    private Long staffid;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "发布时间")
    private LocalDateTime addtime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public BigDecimal getRange() {
        return range;
    }

    public void setRange(BigDecimal range) {
        this.range = range;
    }

    public String getLocationname() {
        return locationname;
    }

    public void setLocationname(String locationname) {
        this.locationname = locationname;
    }

    public Long getStaffid() {
        return staffid;
    }

    public void setStaffid(Long staffid) {
        this.staffid = staffid;
    }

    public LocalDateTime getAddtime() {
        return addtime;
    }

    public void setAddtime(LocalDateTime addtime) {
        this.addtime = addtime;
    }

    @Override
    public String toString() {
        return "Checkinlocations{" +
                "id=" + id +
                ", longitude=" + longitude +
                ", latitude=" + latitude +
                ", range=" + range +
                ", locationname='" + locationname + '\'' +
                ", staffid=" + staffid +
                ", addtime=" + addtime +
                '}';
    }
}
